import { glsl2wgsl, glsl2wgslProgram, glslup300, glslup300Program, glslup450, glslup450Program, initGlsl2wgsl } from '@feng3d/glsl2wgsl';

window['initGlsl2wgsl'] = async () =>
{
    await initGlsl2wgsl({
        glslangJsPath: '../glslang/glslang.js',
        glslangWasmPath: '../glslang/glslang.wasm',
        twgslJsPath: '../twgsl/twgsl.js',
        twgslWasmPath: '../twgsl/twgsl.wasm',
    });
};

//
window['glsl2wgsl'] = glsl2wgsl;
window['glslup300'] = glslup300;
window['glslup450'] = glslup450;

//
window['glsl2wgslProgram'] = glsl2wgslProgram;
window['glslup300Program'] = glslup300Program;
window['glslup450Program'] = glslup450Program;
